package com.example.manager.entity;

import java.io.Serializable;

public class Borrow implements Serializable {
    private int bookid;
    private int userid;


    public Borrow() {
    }

    public Borrow(int bookid, int userid) {
        this.bookid = bookid;
        this.userid = userid;
    }

    @Override
    public String toString() {
        return "Borrow{" +
                "bookid=" + bookid +
                ", userid=" + userid +
                '}';
    }

    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }
}
